﻿function hideRightAds() {

}

function hideAds(){
	document.getElementById("fm-section-app-entry").innerHTML = "";
	document.getElementById("fm-section3").innerHTML = "";
}

function hideLeft(){
	
}

function getElementByAttribute(attr, root) {
    root = root || document.body;
    if(root.hasAttribute(attr)) {
        return root;
    }
    var children = root.children, 
        element;
    for(var i = children.length; i--; ) {
        element = getElementByAttribute(attr, children[i]);
        if(element) {
            return element;
        }
    }
    return null;
}

window.onload = function(){
	hideLeft();
	hideRightAds();
	hideAds();
}

	hideLeft();
	hideRightAds();
	hideAds();
